<div id="network-supply-costing-bar6" style="height: 100%">

</div>

<script type="text/javascript">
    var myChart6 = echarts.init(document.getElementById('network-supply-costing-bar6'), 'macarons');
    var option6 = {
        title: {
            text: '人员配置',
            subtext: '纯属虚构',
            show: false
        },
        tooltip: {
            trigger: 'axis',
            axisPointer : {            // 坐标轴指示器，坐标轴触发有效
                type : 'line'        // 默认为直线，可选为：'line' | 'shadow'
            }
        },
        legend: {
           // data: d.data.arr11,
            type: 'scroll',
            orient: 'vertical',
            right: 10,
            top: 20,
            bottom: 20,
        },
        grid: {
            left: '3%',
            right: '4%',
            bottom: '3%',
            top:'3%',
            containLabel: true
        },
        toolbox: {

        },

        series: [
            {
                name:'',
                type:'pie',
                radius: ['50%', '70%'],
                avoidLabelOverlap: false,
                label: {
                    normal: {
                        show: false,
                        position: 'center'
                    },
                    emphasis: {
                        show: true,
                        textStyle: {
                            fontSize: '30',
                            fontWeight: 'bold'
                        }
                    }
                },
                labelLine: {
                    normal: {
                        show: false
                    }
                },
              //  data:d.data.arr12,
            }
        ]
    };
    function loadbar6(d) {
        if (d.data) {
            option6.legend.data = d.data.arr11;
            option6.series[0].data = d.data.arr12;
            myChart6.setOption(option6);
        }else{
            var div1="<div type='text' style='padding-top:15%' class=' text-center '>"+d.message+"</div>";
            $("#network-supply-costing-bar2").empty();
            $("#network-supply-costing-bar2").prepend(div1);
        }
    }

</script>